updated for user to bash and to allow for 1.7 javas