Fix path finding for script folder