1. Differentiate the commands for debug and normal build.

2. Add controllable parameter  to specify the path of input sample.