added powers in static dir
added support for static dir