Fixing path and eof
Try fixing require bug