Minor modifications

- added optimization flags to the compiler
- minor changes in the commands