added some ghetto file lock scripts