Six weeks for developers to sign contract to fix unsafe buildings