vm auto loading script