change the location of scripts and parametrized the params