Fixes execution commands.
Adds error handling.
Fix packaging configuration.