fixed resource resolution
v1.0.5
fixed condition on parsing key
fixed resource resolution
tweaks for lua search path