Added missing "resource_dir" attribute