Formalized path variables and edited all .sh files accordingly