Compile scripts when packing. Add convenience functions for compiling/parsing.
Added support for unpacking directories, still need to do packing.