--- CMakeLists.txt.org	2017-04-17 17:00:03.000000000 -0500
+++ CMakeLists.txt	2017-04-17 17:11:53.000000000 -0500
@@ -118,9 +118,9 @@
 
 # We copy some files to the binary archive
 INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
-INSTALL (DIRECTORY "${PROJECT_SOURCE_DIR}/test/" DESTINATION test)
-INSTALL (FILES scripts/simple_test.sh DESTINATION test)
-INSTALL (FILES LICENSE README.md scripts/simple_test.sh DESTINATION bin/..)
+INSTALL (DIRECTORY "${PROJECT_SOURCE_DIR}/test/" DESTINATION $ENV{SHARE_DIR}/test)
+INSTALL (FILES scripts/simple_test.sh DESTINATION $ENV{SHARE_DIR}/test)
+INSTALL (FILES LICENSE README.md DESTINATION $ENV{SHARE_DIR})
 
 # We include the "bin" tag into binary archive file name
 set (CPACK_PACKAGE_FILE_NAME  ${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-bin-${CMAKE_SYSTEM_NAME})
--- scripts/simple_test.sh	2016-03-25 05:24:51.000000000 -0500
+++ scripts/simple_test.sh.new	2017-04-17 17:22:50.000000000 -0500
@@ -3,10 +3,10 @@
 
 # look for dsk binary. In devel mode, it's in ../build/bin directory.
 # In production mode, it's in ../bin directory.
-if [ -f "../bin/dsk" ]
+if [ -f "/opt/anaconda1anaconda2anaconda3/bin/dsk" ]
 then
- bindir="../bin"
- h5bindir="../bin"
+ bindir="/opt/anaconda1anaconda2anaconda3/bin"
+ h5bindir="/opt/anaconda1anaconda2anaconda3/bin"
 elif [ -f "../build/bin/dsk" ]
 then
  bindir="../build/bin"
