Forked init script for cap deployments, added additional directories to ignore