Break out post-actions into an external file
Add newlines to end of files.  Make pre-actions a ruby script