Updated create secret script