Change dir to root before executing scripts