Add module for getting commands to run. Update run script to define
environment variable to application etc dir.