added configuration script
modified to not use lib
forget about lib, cd correctly as well