added support for pagodabox
fixed some paths and settings