removing swp, adding in lib for app