fixed scripts to be able to run from any dir
refactored the setup script