Added local_settins support, added deploy script