Added missing file unlock commands (worked on local machine but not on cluster).