edited scripts. everything working