Rom compile fix, directory commands fixed

1. Compile rom commands were attempting to be run as an exec command.
to fix i have split the commands in to two parts, and are run within the
same process
2. fixed out of directory commands
3. fixed typo