fix registering resources with content
add marker file with run dependencies, remove marker file with parent prefix paths