fix for regression caused by splitting app scripts