Fix of a deadlock issue
Added: deployement script.