Removed some unnecessairy flags, home position back working