Removed sudo and added branches whitelist