Modified the code_sync script