added command line build funcionality