Added resample command