cap files and staging env