add push script
fix logic