Fixed require_once issues