make some scripts async