Smarter Rake file for local as well as cloudy deployment