added __resourceQuery, __dir/__filename compile time constant