added option to specify build action — build | rebuild | clean ...