refactor resources_str
add deamonize! alias