added fix with require() scripts php