Move scripts into a bin directory.
Allow relative paths for script and improve error handling.
Add basic trim filters.