Modify the script to enable optimised build and run. Tracker item 3642.