fixing paths for requirefiles