Corrected "prerequisites", added shebangs to the duration scripts