buildfile to encapsulate steps for both local and remote builds