Fixed Folder traversals and AP-Compiler issues