customize script for create localrc