added some scripts from s4 mini