Merge pull request #16 from motns/working_directory_fix

pull request for issue #15
Fix for sandbox block not returning exit status
Merge pull request #17 from motns/command_exit_status_fix

Fix for sandbox block not returning exit status
Merge branch 'master' into standalone_hack