Updated configuration script to work on linux