fixed file path and user creds to reference directory.php