Fixed some minor bugs and changed the environment direction from side to right + left for more control