diff --git a/.gitignore b/.gitignore
index a5ddc11c7133389979662365f220981ffae502d6..3ea4aabcd93099c2a4b839a5193e261e1d62578c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,7 +21,6 @@
 LPD/results
 Test
 build
-cal_tools/agipdalgs.c*
 docs/build
 docs/source/_notebooks
 docs/source/_static/reports
@@ -30,6 +29,8 @@ docs/source/test_results.rst
 docs/source/test_rsts
 reportservice/*.log
 slurm_tmp*
+src/cal_tools/agipdalgs.c
+src/cal_tools/agipdalgs.cpython-36m-x86_64-linux-gnu.so
 webservice/*.log
 webservice/*sqlite
 webservice/webservice.yaml
diff --git a/src/xfel_calibrate/bin b/src/xfel_calibrate/bin
index 19f285ac7c294bb361b37e7efd20baede12e9859..db397da27fbd4d09f44c41ff5c0c6aa471cee990 120000
--- a/src/xfel_calibrate/bin
+++ b/src/xfel_calibrate/bin
@@ -1 +1 @@
-../bin
\ No newline at end of file
+../../bin
\ No newline at end of file
diff --git a/src/xfel_calibrate/notebooks b/src/xfel_calibrate/notebooks
index 8f9a5b2e6d297f32d1e0b7efabb2b553fb7b985a..2057abdaa6746c1e8edb6a20a3516e753e7983c1 120000
--- a/src/xfel_calibrate/notebooks
+++ b/src/xfel_calibrate/notebooks
@@ -1 +1 @@
-../notebooks
\ No newline at end of file
+../../notebooks
\ No newline at end of file