polish BuildProject function
Remove unnecessary execute commands