Using ecstatic and allow setting of dir through static option

Removing static flag conversion