add deploy to folder profile and some bugfixes