Clean up gulp script and add O1 support