Hardcoded paths fix

using APPPATH instead of regular dir name.