Fix issue #676 and #694

Fix #676, #668 and #694 plus minor fixes on commands.
Now Propel commands correctly take paths from the configuration file.