Fixed require statemnts to always use parent directory