modified build script - no need to pass extension