moving popcorn scripts into another file