mv code from script to config