Now syncs the stuff correctly and restarts beanstalk