Fixed pathing issue for foundation scripts