separate script into autoload directory