remove unneccessary permissions
add target folder to ignore