Creates temp script file in current working directory instead of sub-directory.
Changed containers' ordering.